﻿using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;

namespace MebAppMarketplace.Biz.Migrations
{
    public partial class up : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "HomeUrl",
                table: "AppBases",
                newName: "Publisher");

            migrationBuilder.RenameColumn(
                name: "HomeUrl",
                table: "Apps",
                newName: "Publisher");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Publisher",
                table: "AppBases",
                newName: "HomeUrl");

            migrationBuilder.RenameColumn(
                name: "Publisher",
                table: "Apps",
                newName: "HomeUrl");
        }
    }
}
